package cn.itheima;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "user")
@Component
public class User {
    private String rname;
    private Integer age;
    private List<String> girls;
}
